/*
 * @Author: xiaosihan 
 * @Date: 2021-05-09 11:28:33 
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2021-05-09 12:52:32
 */

import cuid from "cuid";

import events from "events";

export class emit extends events {
    constructor() {
        super();
    }

    id = cuid();

    // 路由发生改变时执行
    HISTORY_CHANGE = "history_change";

}

const emiter = new emit();

export default emiter;